package com.ease.map.common.util {
    import com.kgis.flexutil.ResourceLoader;

    /**
     * 国际化支持
     * @author zhxiaomiao
     * */
    public class ResourceUtil {
        //为了ant编译暂时不用
        private static const DEFAULT_RESOURCE_BUNDLE_NAME:String = "MapCore";

        public function ResourceUtil() {
        }

        public static function getString(resourceKey:String, parameters:Array = null, bundleName:String = "MapCore"):String {
            return ResourceLoader.instance().getString(bundleName, resourceKey, parameters);
        }
    }
}